﻿// -----------------------------------------------------------------------
// <copyright file="Dimentions.cs" company="Image Processing Course Project">
// Created 20/10/2011
// </copyright>
// -----------------------------------------------------------------------
using System;
using System.Collections.Generic;

/// <summary>
/// Class for tranfering data between forms
/// </summary>
public class Dimentions
{
    /// <summary>
    /// Pixel count in the x direction
    /// </summary>
    private int width;

    /// <summary>
    /// Pixel count in the y direction
    /// </summary>
    private int height;

    /// <summary>
    /// Integer Value for different image enhancement operations
    /// </summary>
    private int integerValue;

    /// <summary>
    /// Double Value for different image enhancement operations
    /// </summary>
    private double doubleValue;

    /// <summary>
    /// Minimum range value
    /// </summary>
    private int minimum;

    /// <summary>
    /// Maximum range value
    /// </summary>
    private int maximum;

    /// <summary>
    /// List of double values
    /// </summary>
    private List<double> listDouble;

    /// <summary>
    /// Initializes a new instance of the Dimentions class
    /// </summary>
    public Dimentions()
    {
        this.height = 0;
        this.width = 0;
        this.integerValue = 0;
        this.doubleValue = 0;
        this.minimum = 0;
        this.maximum = 0;
        this.listDouble = new List<double>();
    }

    /// <summary>
    /// Gets or sets pixel count in the x direction
    /// </summary>
    public int Width 
    {
        get
        {
            return this.width;
        }

        set
        {
            this.width = value;
        }
    }

    /// <summary>
    /// Gets or sets pixel count in the y direction
    /// </summary>
    public int Height
    {
        get
        {
            return this.height;
        }

        set
        {
            this.height = value;
        }
    }

    /// <summary>
    /// Gets or sets image enhancement temp integer value
    /// </summary>
    public int Value
    {
        get
        {
            return this.integerValue;
        }

        set
        {
            this.integerValue = value;
        }
    }

    /// <summary>
    /// Gets or sets image enhancement temp double value
    /// </summary>
    public double DoubleValue
    {
        get
        {
            return this.doubleValue;
        }

        set
        {
            this.doubleValue = value;
        }
    }

    /// <summary>
    /// Gets or sets double list
    /// </summary>
    public List<double> ListDouble
    {
        get
        {
            return this.listDouble;
        }

        set
        {
            this.listDouble = value;
        }
    }

    /// <summary>
    /// Gets or sets minimum value
    /// </summary>
    public int Minimum
    {
        get
        {
            return this.minimum;
        }

        set
        {
            this.minimum = value;
        }
    }

    /// <summary>
    /// Gets or sets maximum value
    /// </summary>
    public int Maximum
    {
        get
        {
            return this.maximum;
        }

        set
        {
            this.maximum = value;
        }
    }
}
